package com.ruoyi.abuwx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 ums_user
 * 
 * @author tang
 * @date 2022-07-06
 */
public class UmsUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 地区 */
    @Excel(name = "地区")
    private String region;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** 微信用户openid */
    @Excel(name = "微信用户openid")
    private String wxOpenid;

    /** 微信小程序客户端openid */
    @Excel(name = "微信小程序客户端openid")
    private String wxmClientOpenid;

    /** 微信小程序管理端openid */
    @Excel(name = "微信小程序管理端openid")
    private String wxmAdminOpenid;

    /** 微信unionid */
    @Excel(name = "微信unionid")
    private String wxUnionid;

    /** 登录IP */
    @Excel(name = "登录IP")
    private String loginIp;

    /** 登录终端类型(minapp 小程序 app APP) */
    @Excel(name = "登录终端类型(minapp 小程序 app APP)")
    private String loginType;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realname;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer delFlag;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setWxOpenid(String wxOpenid) 
    {
        this.wxOpenid = wxOpenid;
    }

    public String getWxOpenid() 
    {
        return wxOpenid;
    }
    public void setWxmClientOpenid(String wxmClientOpenid) 
    {
        this.wxmClientOpenid = wxmClientOpenid;
    }

    public String getWxmClientOpenid() 
    {
        return wxmClientOpenid;
    }
    public void setWxmAdminOpenid(String wxmAdminOpenid) 
    {
        this.wxmAdminOpenid = wxmAdminOpenid;
    }

    public String getWxmAdminOpenid() 
    {
        return wxmAdminOpenid;
    }
    public void setWxUnionid(String wxUnionid) 
    {
        this.wxUnionid = wxUnionid;
    }

    public String getWxUnionid() 
    {
        return wxUnionid;
    }
    public void setLoginIp(String loginIp) 
    {
        this.loginIp = loginIp;
    }

    public String getLoginIp() 
    {
        return loginIp;
    }
    public void setLoginType(String loginType) 
    {
        this.loginType = loginType;
    }

    public String getLoginType() 
    {
        return loginType;
    }
    public void setRealname(String realname) 
    {
        this.realname = realname;
    }

    public String getRealname() 
    {
        return realname;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("username", getUsername())
            .append("nickname", getNickname())
            .append("phone", getPhone())
            .append("contactPhone", getContactPhone())
            .append("region", getRegion())
            .append("email", getEmail())
            .append("companyName", getCompanyName())
            .append("password", getPassword())
            .append("avatar", getAvatar())
            .append("wxOpenid", getWxOpenid())
            .append("wxmClientOpenid", getWxmClientOpenid())
            .append("wxmAdminOpenid", getWxmAdminOpenid())
            .append("wxUnionid", getWxUnionid())
            .append("loginIp", getLoginIp())
            .append("loginType", getLoginType())
            .append("realname", getRealname())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
